package cn.wl.crm.mapper;

import cn.wl.basic.mapper.BaseMapper;
import cn.wl.crm.domain.Role;

import java.util.List;
import java.util.Map;

public interface RoleMapper extends BaseMapper<Role> {
    //保存中间表的方式
    void saveRolePermisison(List<Map> rolePermisisonsList);

    //删除中间表
    void deleteRolePermission(Long id);
}
